/***************************************************************
 *
 * (c) 2008 Markus Dittrich 
 *
 * This program is free software; you can redistribute it 
 * and/or modify it under the terms of the GNU General Public 
 * License Version 3 as published by the Free Software Foundation. 
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License Version 3 for more details.
 *
 * You should have received a copy of the GNU General Public 
 * License along with this program; if not, write to the Free 
 * Software Foundation, Inc., 59 Temple Place - Suite 330, 
 * Boston, MA 02111-1307, USA.
 *
 ****************************************************************/

/* QT headers */
#include <QString>

/* local includes */
#include "about_dvalin.h"

/*****************************************************************
 *
 * public member functions
 *
 *****************************************************************/

//----------------------------------------------------------------
// constructor
//----------------------------------------------------------------
AboutDvalinWidget::AboutDvalinWidget(QWidget* parent) : QMessageBox(parent)
{
  setup_contents_();
}


/*****************************************************************
 *
 * private member functions
 *
 *****************************************************************/

//----------------------------------------------------------------
// set up the main content of the GUI
//----------------------------------------------------------------
void AboutDvalinWidget::setup_contents_()
{
  QString content = 
    "<b>dvalin</b> is a simple data graphing and analysis tool"
    "optimized for speed and simplicity.<br><br>"
    "Copyright (C) 2008 Markus Dittrich<br><br>"
    "This program is free software: you can redistribute it and/or "
    "modify it under the terms of the GNU General Public License " 
    "as published by the Free Software Foundation, either version 3 "
    "of the License, or (at your option) any later version.<br><br>"
    "This program is distributed in the hope that it will be useful, "
    "but WITHOUT ANY WARRANTY; without even the implied warranty of "
    "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "
    "GNU General Public License for more details.<br>"
    "You should have received a copy of the GNU General Public "
    "License along with this program. "  
    "If not, see <a href=\"http://www.gnu.org/licenses/\">"
    "http://www.gnu.org/licenses</a><br><br>"
    "The author can be contacted at <a href=\"mailto:markusle@gmail.com\">"
    "markusle.at.gmail.com</a>";
    
  setText(content);
}

